from ipywidgets import interact
import ipywidgets as widgets

# 列表参数: 下拉框
def fun_list(x):
    return x

interact(fun_list, x=["Tom","Jack","Lilisi","Lucy"])